<cfoutput>

	<cfset corkImagesUrl = "/common/images/corkboard/">
	<cfset sectionName = "">
	<cfset topLinkId = 0>
	<cfset topLinkTarget = "_top">
	<cfset bottomLinkId = 0>
	<cfset bottomLinkTarget = "_top">
	<cfset middleLinkId = 0>
	<cfset middleLinkTarget = "_top">

	<cfswitch expression="#currentParentId#">
		<cfcase value="1">
			<cfset sectionName = "home">
			<cfset topLinkId = 70>
			<cfset middleLinkId = 172>
			<cfset bottomLinkId = 71>
		</cfcase>
		<cfcase value="3">
			<cfset sectionName = "about">
			<cfset topLinkId = 79>
			<cfset bottomLinkId = 80>
		</cfcase>
		<cfcase value="4">
			<cfset sectionName = "howtoapply">
			<cfset topLinkId = 81>
			<cfset bottomLinkId = 82>
		</cfcase>
		<cfcase value="5">
			<cfset sectionName = "workshops">
			<cfset topLinkId = 83>
			<cfset bottomLinkId = 84>
		</cfcase>
		<cfcase value="6">
			<cfset sectionName = "questions">
			<cfset topLinkId = 85>
			<cfset bottomLinkId = 86>
		</cfcase>
		<cfcase value="7">
			<cfset sectionName = "testimonials">
			<cfset topLinkId = 87>
			<cfset bottomLinkId = 88>
		</cfcase>
		<cfcase value="8">
			<cfset sectionName = "sponsors">
			<cfset topLinkId = 89>
			<cfset bottomLinkId = 90>
		</cfcase>
		<cfcase value="9">
			<cfset sectionName = "links">
			<cfset topLinkId = 91>
			<cfset bottomLinkId = 92>
		</cfcase>
		<cfcase value="38">
			<cfset sectionName = "sp-home">
			<cfset topLinkId = 139>
			<cfset bottomLinkId = 58>
		</cfcase>
	</cfswitch>
	
	<cfif len(sectionName)>
		
		<cfset topName = corkImagesUrl & sectionName & "-top.gif">
		<cfset bottomName = corkImagesUrl & sectionName & "-bottom.jpg">

		<cfset topLinkTarget = CMSUtilities.getTarget(topLinkId)>
		<cfset bottomLinkTarget = CMSUtilities.getTarget(bottomLinkId)>
		<cfif currentParentId eq 1>
			<cfset middleLinkTarget = CMSUtilities.getTarget(middleLinkId)>
		</cfif>
		
		<cfif currentParentId neq 1>
			<cfif fileExists(expandPath(topName))>
				<a href="/index.cfm?navid=#topLinkId#" target="#topLinkTarget#"><img src="#topName#" alt="" border="0"></a><br>
			</cfif>
			<cfif fileExists(expandPath(bottomName))>
				<a href="/index.cfm?navid=#bottomLinkId#" target="#bottomLinkTarget#"><img src="#bottomName#" alt="" border="0"></a><br>
			</cfif>
		<cfelse>
			<img src="../common/images/corkboard/home-full.gif" width="159" height="552" alt="" border="0" usemap="##fullHomeMap">
			<map name="fullHomeMap" id="fullHomeMap">
				<area alt="" shape="poly" coords="5,27,142,16,153,147,16,156" href="/index.cfm?navid=#topLinkId#" target="#topLinkTarget#">
				<area alt="" coords="0,174,68,425" href="/index.cfm?navid=#middleLinkId#" target="#middleLinkTarget#">
			</map>

		</cfif>
	</cfif>
</cfoutput>